package com.itheima.autoconfig.oss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "tanhua.oss")
public class OssProperties {

    private String accessKey;//账号
    private String secret; //秘钥
    private String bucketName; //桶名
    private String url; //桶所在的地址
    private String Endpoint; //所在区域
}